﻿using System.Web.Mvc;

namespace SlamCms.Areas._default
{
	public class DefaultAreaRegistration : AreaRegistration
	{
		public override string AreaName
		{
			get
			{
				return "_default";
			}
		}

		public override void RegisterArea(AreaRegistrationContext context)
		{
			context.MapRoute("_default_static", "_default/Static/{name}", new { controller = "Static", action = "Index" });
			context.MapRoute("_default_default", "_default/{controller}/{action}/{id}", new { action = "Index", controller = "Dashboard", id = UrlParameter.Optional });
		}
	}
}
